testing.common.duration (field)
19 uses
testing (current package)
benchmark.go#L153: b.duration += highPrecisionTimeSince(b.start)
benchmark.go#L180: b.duration = 0
benchmark.go#L222: b.previousDuration = b.duration
benchmark.go#L348: for n := int64(1); !b.failed && b.duration < d && n < 1e9; {
benchmark.go#L353: n = int64(predictN(goalns, prevIters, b.duration.Nanoseconds(), last))
benchmark.go#L358: b.result = BenchmarkResult{b.N, b.duration, b.bytes, b.netAllocs, b.netBytes, b.extra}
benchmark.go#L365: d := b.duration
fuzz.go#L417: dstr := fmtDuration(f.duration)
fuzz.go#L688: root.duration += highPrecisionTimeSince(root.start)
fuzz.go#L689: d := root.duration
fuzz.go#L701: f.duration += highPrecisionTimeSince(f.start)
fuzz.go#L716: f.duration += highPrecisionTimeSince(cleanupStart)
testing.go#L653: duration time.Duration
testing.go#L1554: t.duration += highPrecisionTimeSince(t.start)
testing.go#L1725: root.duration += highPrecisionTimeSince(root.start)
testing.go#L1726: d := root.duration
testing.go#L1740: t.duration += highPrecisionTimeSince(t.start)
testing.go#L1761: t.duration += highPrecisionTimeSince(cleanupStart)
testing.go#L2192: dstr := fmtDuration(t.duration)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)